{include file="header"}

<div class="body">
	<div class="nav">
		<a href="/xcxmb/public/admin/first/index">首页</a> > <a href="/xcxmb/public/admin/setting/index">系统设置</a> > 所有管理员
	</div>
	<div class="addbtn">
			<a href="manager" class="addbtn">所有管理员</a> &nbsp;
			<a href="add" class="addbtn">增加管理员</a> &nbsp;
			<!--<a href="log" class="addbtn">日志管理</a> &nbsp;-->
	</div>
	<form action="?" method="get">
	<div class="search">
	<input type="hidden" name="app" id="app" value="setting" />
	<input type="hidden" name="act" id="act" value="manager" />
	<span>ID</span><input title="" type="text" name="id" id="id" value="{$id}" />
	<span>关键词</span><input title="" type="text" name="keyword" id="keyword" value="{$keyword}" />
	<input type="submit" class="btn" value="搜 索" class="btn" />
	<div class="clear"></div>
	</div>
	</form>


	<div class="list">
		<table width="100%" border="0" cellspacing="1" cellpadding="0">
			<tr class="h">
				<th>ID</th>
				<th>登录名称</th>

				<th>邮箱</th>
				<!--<th>上次登录时间</th>-->
				<th>上次登录IP</th>
				<th>登录次数</th>
				<th>状态</th>
				<th>操作</th>
			</tr>
			{foreach name="list" item="row"}
			<tr bgcolor="white">
				<td>{$row.id}</td>
				<td style="text-align:left;">
					<a href="edit_manager?id={$row.id}">{$row.name}</a>
				</td>

				<td align="center">{$row.email}</td>
				<td align="center">{$row.last_ip}</td>
				<td align="center">{$row.logins}</td>
				<td align="center">{if $row.status==1}正常{else}冻结{/if}</td>
				<td align="center">
				<a href="edit_manager?id={$row.id}" class="ico2"></a>
					<a class="ico3 delete" href="delete?id={$row.id}"></a>
				</td>
			</tr>

			{/foreach}
		</table>

	<div class="clear"></div>
	<div class="mypage" style="text-align:right">
		{$page}
	</div>
</div>
</div>

{include file="footer"}